<template>
  <div class="about">
    <el-container>
  <el-header></el-header>
  <el-container>
    <el-aside width="200px">
      <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose"
      router
      >
      
        <el-submenu index="1-2">
          <template slot="title">学生管理功能</template>
          <el-menu-item index="/sss">学生基本信息</el-menu-item>
          <el-menu-item index="/yonghujiemian">学生选课功能</el-menu-item>
        </el-submenu>
        <el-submenu index="1-4">
          <template slot="title">论坛交流功能</template>
          <el-menu-item index="/liuyan">论坛</el-menu-item>
        </el-submenu>
     
     
    </el-menu>
    </el-aside>
    <el-main>
      <router-view>

      </router-view>
    </el-main>
  </el-container>
</el-container>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },
}
</script>
<style scoped>
 .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    width:100vw;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    height: 100vh;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    height: 100vh;
}
</style>